//
//  HMConst.swift
//  WymanWeibo
//
//  Created by wyman on 16/4/9.
//  Copyright © 2016年 wyman. All rights reserved.
//

import UIKit

//Swift只要不在类里面的代码 全局可以使用

func HMPrint(items: Any, file: String = __FILE__, line: Int = __LINE__, function: String = __FUNCTION__) {
    #if DEBUG
        print((file as NSString).lastPathComponent + ",[\(line)]行,方法民称: " + function + "\n输出:========\(items)")
    #endif
}

let HMGlobalColor = UIColor.whiteColor()

let OauthUrl = "https://api.weibo.com/oauth2/authorize"

let client_id = "3267410877"

let redirect_uri = "http://www.douyu.com"

/// accessToken 请求地址
let accessTokenString = "https://api.weibo.com/oauth2/access_token"

/// secret
let client_secret = "8a6b9b0c027fa88dd91f6362236b0b72"


let authorization_code = "authorization_code"

let HMDefautlAnimDuration: NSTimeInterval = 0.25
//路径
   let filePath = NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomainMask.UserDomainMask, true).last!.stringByAppendingString("/account.plist")

// 图片数量
let NumberOfNewFeatureItem = 4 

//字体大小
let HMStatusNameFontSize: CGFloat = 14

let HMStatusTimeFontSize: CGFloat = 11

//微博文字大小
let HMStatusContentFontSize: CGFloat = 15

//微博 内容间距
let HMStatusCellMargin: CGFloat = 8

//微博头像大小

let HMStatusIconWH:CGFloat = 35

